ADP\BaseVersion\Includes\Shortcodes\SqlGeneratorPersistent A

Total Complexity 63
Dependencies 5
Dependents 0
Total lines 420
Lines of code 275
Logical lines of code 165
Comment lines 28
Methods 27
Properties 8

Methods 27

Method Rating Maintainability Complexity Lines of code
compareToSql()
A
48 12 32
applyRuleToQuery()
S
52 7 23
getSql()
S
52 6 23
genSqlProduct_custom_fields()
S
52 4 23
genSqlByTermIds()
S
53 2 20
genSqlProduct_custom_attributes()
S
55 2 17
genSqlProduct_attributes()
S
56 2 17
genSqlProduct_category_slug()
S
57 2 16
generateFilterSqlByType()
S
66 3 7
getSqlByPostmeta()
S
62 2 12
getExcludeWhere()
S
71 2 6
getProductIds()
S
64 2 10
genSqlProducts()
S
64 2 9
addJoin()
S
70 2 6
genSqlAny()
S
82 1 3
isEmpty()
S
79 1 3
genSqlCustomTaxonomy()
S
79 1 3
__construct()
S
70 1 6
genSqlProduct_categories()
S
79 1 3
genSqlProduct_tags()
S
79 1 3
genSqlProduct_sellers()
S
75 1 4
offset()
S
81 1 3
limit()
S
81 1 3
getWhere()
S
82 1 3
getJoin()
S
82 1 3
clear()
S
70 1 7
genSqlProduct_sku()
S
63 1 10